package com.fare.taluo.ftp;
/**
 * 上传文件状态
 * @author xiangsf 2012-12-6
 *
 */
public enum UploadStatus {
	 	Create_Directory_Fail(1,"远程服务器相应目录创建失败"),     
	    Create_Directory_Success(2,"远程服务器创建目录成功"),      
	    Upload_New_File_Success(3,"上传新文件成功"),     
	    Upload_New_File_Failed(4,"上传新文件失败"),    
	    File_Exits(5,"文件已经存在"),                
	    Remote_Bigger_Local(6,"远程文件大于本地文件"),        
	    Upload_From_Break_Success(7,"断点续传成功"),  
	    Upload_From_Break_Failed(8,"断点续传失败"),   
	    Delete_Remote_Faild(9,"删除远程文件失败"),
	    Local_File_Noexist(10, "本地文件不存在");
	 	private int code;
	 	private String desc;
	 	private UploadStatus(int code, String desc){
	 		this.code = code;
	 		this.desc = desc;
	 	}
		public int getCode() {
			return code;
		}
		public void setCode(int code) {
			this.code = code;
		}
		public String getDesc() {
			return desc;
		}
		public void setDesc(String desc) {
			this.desc = desc;
		}
	 	
}
